hvmloader: Declare get_hvm_info_table/get_shared_info as const funcs.
authorKeir Fraser <keir@xen.org>
Sat, 23 Jul 2011 08:57:04 +0000 (09:57 +0100)
committerKeir Fraser <keir@xen.org>
Sat, 23 Jul 2011 08:57:04 +0000 (09:57 +0100)
The compiler can perform CSE on their call sites.

Signed-off-by: Keir Fraser <keir@xen.org>
tools/firmware/hvmloader/config.h

index 989dd345cdac585cff96621a3bdeff76c505f4ab..ff34b3285387ad165d321f013f454a14941ee709 100644 (file)
@@ -55,9 +55,8 @@ extern struct bios_config seabios_config;
 #define PCI_MEM_END         0xfc000000
 extern unsigned long pci_mem_start, pci_mem_end;
 
-/* We reserve 16MB for special BIOS mappings, etc. */
+/* Reserved for special BIOS mappings, etc. */
 #define RESERVED_MEMBASE    0xfc000000
-#define RESERVED_MEMSIZE    0x01000000
 
 /* Memory map. */
 #define SCRATCH_PHYSICAL_ADDRESS      0x00010000